oxenstored: Allow oxenstored to use syslog at levels other than Debug
authorDavid Scott <dave.scott@eu.citrix.com>
Tue, 19 Mar 2013 16:57:34 +0000 (16:57 +0000)
committerDavid Scott <dave.scott@eu.citrix.com>
Tue, 19 Mar 2013 21:16:04 +0000 (21:16 +0000)
commit6f1355fe8d5140308a26e23370459dd749f5efbf
tree24a9fe20c227e2f5f049c328e3fe1f2b8e4f7c20
parent24bd2dbb85d12f1d435180c328950035205b0af5
oxenstored: Allow oxenstored to use syslog at levels other than Debug

We now log different kinds of events at different levels. The convention
is now:

new/end_connection:    Debug
coalesce:              Debug
conflict:              Debug
commit:                Debug
regular ops:           Info
start/end_transaction: Debug
error (ENOENT):        Debug
error (any other):     Warn
watch:                 Info

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/ocaml/xenstored/logging.ml